var redis=require('redis');
var c=redis.createClient();

c.set('expireat','expireat',(err,ret)=>{
    console.log(err,ret);

    c.expireat('expireat',1422720000000,(err,ret)=>{
        console.log(err,ret);

        c.get('expireat',(err,ret)=>{
            console.log(err,ret);

        });

    });
});